﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="uscBaoCaoGiangCap.ascx.cs" Inherits="WebUserControl_uscBaoCaoGiangCap" %>
<%@ Register src="uscTitleForm.ascx" tagname="uscTitleForm" tagprefix="uc1" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>
<%@ Import Namespace="BCDataCenter" %>

<%@ Register src="uscMsgBox.ascx" tagname="uscMsgBox" tagprefix="uc2" %>


<%--<asp:UpdatePanel ID="UpdatePanel1" runat="server">
    <ContentTemplate>
--%>        
        <table style="width:100%;">
            <tr>
                <td colspan="2">
                    <uc1:uscTitleForm ID="uscTitleForm1" runat="server" Messeage="Báo Cáo Danh Hiệu" />
                </td>        
            </tr>
            <tr>
                <td align="right">
                    Trung tâm phân phối :</td>
                <td align="left">
                    <asp:DropDownList ID="drlTTPP" runat="server" Width="150px">
                    </asp:DropDownList>
                   </td>
                
            </tr>
            <tr>
                <td align="right">
                    Tháng năm:
                </td>
                <td align="left">
                    <asp:TextBox ID="txtThang" runat="server" Width="150px" ></asp:TextBox>
                            <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" 
                                ErrorMessage="*" ControlToValidate="txtThang" SetFocusOnError="True" 
                                ValidationExpression="(0[1-9]|1[012])/[0-9]{4}"></asp:RegularExpressionValidator>
                                <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
                                ErrorMessage="*" ControlToValidate="txtThang"></asp:RequiredFieldValidator>
                            <asp:ImageButton ID="ImageButtonCalendar" runat="server" Width="16px" ImageUrl="~/WebMaster/Images/Calendar.png" />
                            <cc1:CalendarExtender ID="txt_Thang_CalendarExtender" runat="server" Format ="MM/yyyy" 
                                TargetControlID="txtThang" PopupButtonID="ImageButtonCalendar"></cc1:CalendarExtender>
                </td>                
            </tr>
            <tr>
                <td align="center" colspan="2">
                    <asp:Button ID="btnViewReport" runat="server" Text="Xem báo cáo" 
                        onclick="btnViewReport_Click" />
                    &nbsp;&nbsp;&nbsp;
                    <asp:Button ID="btnExportExcel" runat="server" Text="Xuất ra Excel" 
                        onclick="btnExportExcel_Click" />
                </td>
            </tr>
            <tr>
                <td align="center" colspan="2">
                    <asp:GridView ID="gvBaoCaoDanhHieu" runat="server">
                    </asp:GridView>
                    <br />
                </td>
            </tr>
            <tr>
                <td>
                    

                </td>
            </tr>
        </table>
        <uc2:uscMsgBox ID="uscMsgBox1" runat="server" />
   <%-- </ContentTemplate>
</asp:UpdatePanel>
--%>